﻿using System;

namespace UniRx
{
	// Token: 0x02000220 RID: 544
	public static class Notification
	{
		// Token: 0x06000CEB RID: 3307 RVA: 0x0003E934 File Offset: 0x0003CD34
		public static Notification<T> CreateOnNext<T>(T value)
		{
			return new Notification<T>.OnNextNotification(value);
		}

		// Token: 0x06000CEC RID: 3308 RVA: 0x0003E93C File Offset: 0x0003CD3C
		public static Notification<T> CreateOnError<T>(Exception error)
		{
			if (error == null)
			{
				throw new ArgumentNullException("error");
			}
			return new Notification<T>.OnErrorNotification(error);
		}

		// Token: 0x06000CED RID: 3309 RVA: 0x0003E955 File Offset: 0x0003CD55
		public static Notification<T> CreateOnCompleted<T>()
		{
			return new Notification<T>.OnCompletedNotification();
		}
	}
}
